package exception;

import java.awt.*;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.sql.SQLException;

public class ThrowsDemo {
    public void doSome()throws IOException, AWTException{

    }
}
class subClass extends ThrowsDemo{
    //public void doSome(){}
    //public void doSome ()throws FileNotFoundException {}
    //public void doSome()throws IOException{}
    //public void doSome()throws AWTException{}
    //public void doSome()throws Exception{}
    //public void doSome()throws SQLException{}

}
